﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ResultsManagementSystem
{
    public class Subject
    {
        private int id;
        private String name;
        private int teacherId;

        public Subject() { }

        public Subject(String name,int teacherId)
        {
            this.name = name;
            this.teacherId = teacherId;
        }

        public Subject(int id,String name, int teacherId)
        {
            this.id = id;
            this.name = name;
            this.teacherId = teacherId;
        }

        ~Subject() { }

        public int getId()
        {
            return this.id;
        }

        public void setId(int id)
        {
            this.id = id;
        }

        public String getName()
        {
            return this.name;
        }

        public void setName(String name)
        {
            this.name = name;
        }

        public int getTeacherId()
        {
            return this.teacherId;
        }

        public void setTeacherId(int teacherId)
        {
            this.teacherId = teacherId;
        }
    }
}
